
public record UserDto {
  public int Id { get; set; }
  public string Name { get; set; }
  public string Email { get; set; }
}

public record UserDao {
  public string Name { get; set; }
  public string Email { get; set; }
  public string Version { get; set; }
}

// =========================================================
public record NameSplit {
  public string FirstName { get; set; }
  public string LastName { get; set; }
  public string Language { get; set; }
}

public record NameMerge {
  public string FullName { get; set; }
  public string Language { get; set; }
}


// =========================================================
public record Gmail {
  public string Email { get; set; }
}

public record OutLook {
  public string Mail { get; set; }
}

// =========================================================

public record Person {
  public string Name { get; set; }
  public int Age { get; set; }
  public Address Address { get; set; }
}

public record Address {
  public string Street { get; set; }
  public string City { get; set; }
}


public record PersonDto {
  public string Name { get; set; }
  public int Age { get; set; }


  public string AddressStreet { get; set; }
  public string AddressCity { get; set; }
}


// =========================================================

public record Student {
  public string Id { get; set; }
  public string Name { get; set; }
  public Course Course { get; set; }
  public string Sex { get; set; }
  public int Age { get; set; }
  public string Dept { get; set; }
}

public record Course {
  public string CourseName { get; set; }
  public double Grade { get; set; }
}

public record StudentDto {
  public string Name { get; set; }
  public string CourseName { get; set; }
}